﻿using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace RG.Common.WPF.BaseSelector
{
    public interface INamed
    {
        string Name { get; }
    }

    public interface IHelper
    {
        INamed Search(string name);
        INamed Overview();
    }

    public interface ILoadFrame : IEditableObject, IEditableDialogDataErrorInfo
    {
        void Load(Func<List<INamed>> func);
        INamed SelectedItem { get; set; }
    }
}